package com.oa.admin.service;

import com.oa.admin.dto.DocumentAddDTO;
import com.oa.core.PageResult;
import com.oa.admin.entity.DocumentPermission;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 文档权限表 服务类
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
public interface IDocumentPermissionService extends IService<DocumentPermission> {
    /**
     * 自定义分页
     * @param pageNum
     * @param pageSize
     * @return
     */
    PageResult<DocumentPermission> findList(Integer pageNum, Integer pageSize);

    /**
    * 根据id查询
    */
    DocumentPermission findDocumentPermissionById(String id);



}
